package com.yunhe.policyfulfillment.policyful.service;

import com.yunhe.policyfulfillment.policyful.domain.AppealProcess;

/**
 * @ClassName: AppealProcessService
 * @Description:
 * @author: GongDaCheng
 * @Date: 15:28 2021/8/24
 */
public interface AppealProcessService {

    /**
     * @Description 新增诉求流程状态
     * @Param AppealProcess appealProcess
     * @Return int
     * @Date 2021/8/24 15:31
     */
    int createAppealProcess (AppealProcess appealProcess);

    /**
     * @Description 删除诉求流程状态
     * @Param int id
     * @Return int
     * @Date 2021/8/24 15:31
     */
    int deleteAppealProcess(int id);

    /**
     * @Description 更新诉求流程状态
     * @Param AppealProcess appealProcess
     * @Return int
     * @Date 2021/8/24 15:32
     */
    int updateAppealProcess(AppealProcess appealProcess);

    /**
     * @Description 根据id查询诉求流程状态
     * @Param int id
     * @Return AppealProcess
     * @Date 2021/8/24 15:33
     */
    AppealProcess findAppealProcessById(int id);
}
